package com.xzg.apply.service;

import com.xzg.apply.entity.Apply;
import com.xzg.common.exception.XZGException;
import com.xzg.common.page.PageQueryBean;
import com.xzg.common.vo.QueryCondition;
import com.xzg.mission.entity.Mission;
import com.xzg.user.entity.User;

import java.util.List;

public interface ApplyService {
    void startApply(Mission mission) throws XZGException;

    PageQueryBean listTask(String username , QueryCondition condition);

    int approve(Apply apply, Mission mission, User user );
}
